package com.liang.gulimall.product.vo;

import com.liang.gulimall.product.entity.SkuImagesEntity;
import com.liang.gulimall.product.entity.SkuInfoEntity;
import com.liang.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;
@ToString
@Data
public class SkuItemVo {
    //sku基本信息pms_sku_info
    SkuInfoEntity info;
    //sku图片图片信息
    List<SkuImagesEntity> images;
    //sku销售属性组合
    List<SkuItemSaleAttrVo> skuItemSaleAttrs;
    //spu介绍
    SpuInfoDescEntity describe;
    //spu规格参数
    List<SpuItemBaseAttrVo> spuItemBaseAttrs;
    //秒杀信息
    SecKillSkuInfoVo seckillSkuVo;

    @Data
    public static class SpuItemBaseAttrVo{
        private String attrGroupName;
        private List<BaseAttrVo> attrs;

    }
    @Data
    public static class BaseAttrVo{
        private String attrName;
        private String attrValue;
    }


}
